[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
---
GENVAL() Generic validate for a condition with message
Purpose Generic Validate. Analyses a condition
pops a window with a message if condition is false.
Usage GENVAL(<condit>,<whatsay>)
Para <condit> = CONDITION TO CHECK
<whatsay>= MESSAGE TO THE USER
Returns Result of condition - .t. or .f.
Example
if !genval("fcount() >= 60","There are less than 60 fields")
or as a VALID:
@10,10 get lname VALID ;
GENVAL("!empty(m->lname)","Need a last name,please")
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson